setFileCreator
Sets the creator for an existing Mac OS file.
public static final void setFileCreator ( File file, MRJOSType creator) throws IOException;
file
- The file whose creator you want to set.
creator
- The 4-byte creator you wish to assign as the default.
DISCUSSION
On the Mac OS, a creator is a 4-byte character constant that the Finder uses to identify the application that should be used to open the document file. This method throwsIOException
if the desired file cannot be found.SEE ALSO
ThesetFileTypeAndCreator
method (page 37).The
setFileType
method (page 38).The "Finder Interface" chapter in Inside Macintosh: Macintosh Toolbox Essentials for information about creators.